package com.kws.tool.dto;

import io.swagger.annotations.ApiModelProperty;

/**
 * <b>SignFieldsRq</b>
 *
 * @description: SignFieldsRq <br>
 * @date: 2024/12/3 09:43 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class SignFieldsRq {
    @ApiModelProperty(value = "签署区所在待签署文件ID")
    private String fileId;

    @ApiModelProperty(value = "开发者自定义业务编号")
    private String customBizNum;

    @ApiModelProperty(value = "签署区类型，默认值为 0\n" +
            "0 - 签章区 （添加印章、签名等）\n" +
            "1 - 备注区（添加备注文字信息等）（点击了解 备注签署）\n" +
            "2 - 独立签署日期（添加单独的签署日期）")
    private Integer signFieldType;

    @ApiModelProperty(value = "该签署区是否必须签署，默认值为 true（必须签）")
    private boolean mustSign;

    @ApiModelProperty(value = "签章区配置项（指定signFieldType为 0 - 签章区时，该参数为必传项）")
    private NormalSignFieldConfigRq normalSignFieldConfig;

    @ApiModelProperty(value = "备注区配置项（指定signFieldType为 1 - 备注区时，该参数为必传项）")
    private RemarkSignFieldConfigRq remarkSignFieldConfig;

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getCustomBizNum() {
        return customBizNum;
    }

    public void setCustomBizNum(String customBizNum) {
        this.customBizNum = customBizNum;
    }

    public Integer getSignFieldType() {
        return signFieldType;
    }

    public void setSignFieldType(Integer signFieldType) {
        this.signFieldType = signFieldType;
    }

    public boolean isMustSign() {
        return mustSign;
    }

    public void setMustSign(boolean mustSign) {
        this.mustSign = mustSign;
    }

    public NormalSignFieldConfigRq getNormalSignFieldConfig() {
        return normalSignFieldConfig;
    }

    public void setNormalSignFieldConfig(NormalSignFieldConfigRq normalSignFieldConfig) {
        this.normalSignFieldConfig = normalSignFieldConfig;
    }

    public RemarkSignFieldConfigRq getRemarkSignFieldConfig() {
        return remarkSignFieldConfig;
    }

    public void setRemarkSignFieldConfig(RemarkSignFieldConfigRq remarkSignFieldConfig) {
        this.remarkSignFieldConfig = remarkSignFieldConfig;
    }
}
